<?php 
//从模型中取得数据
require 'MatchModel.class.php';
require 'Factory.class.php';
 // $match1 =new MatchModel();
$match1 = Factory::M('match');
$match2 =Factory::M('match');
// var_dump($match1,$match2);
$match = $match1->getMatches();

// var_dump($res);

//从视图中取得模板
require 'match_v.html';
 ?>
 